//
//  BookingInfoModel.m
//  OfficeBook
//
//  Created by 孙晓奇 on 15/10/2.
//  Copyright © 2015年 sunny. All rights reserved.
//

#import "BookingInfoModel.h"
#import "RoomModel.h"

@implementation BookingInfoModel

-(instancetype)init{
    self = [super init];
    if (self) {
        self.start = [[NSDate alloc] init];
        self.end = [[NSDate alloc] init];
    }
    return self;
}

-(id)copyWithZone:(NSZone*)zone
{
    BookingInfoModel *copy = [[[self class] allocWithZone:zone] init];
    copy->_start = self->_start;
    copy->_end  = self->_end;
    copy->_location = self->_location;
    copy->_subject = self->_subject;
    copy->_roomInfo = [self->_roomInfo copyWithZone:zone];
    return copy;
}
@end
